/*
 * Copyright (c) 2025 EasyAdmin
 * All rights reserved.
 *
 * This file is part of the [EasAdmin] project.
 * Unauthorized copying of this file, via any medium, is strictly prohibited.
 * Proprietary and confidential.
 *
 * Author: EasyAdmin ( 1073602@qq.com )
 * Website: https://www.xhxiao.com
 */
package com.easy.module.log.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.easy.framework.database.service.IService;
import com.easy.module.log.entity.SysLoginLog;
import com.easy.module.log.query.SysLoginLogQuery;

import java.util.List;
import java.util.concurrent.CompletableFuture;

/**
 * 登录日志 Service接口
 *
 * @author EasyAdmin ( 1073602@qq.com )
 * @date 2025-08-19
 */
public interface ISysLoginLogService extends IService<SysLoginLog, SysLoginLogQuery> {
    /**
     * 获取查询对象
     *
     * @param query
     * @return
     */
    LambdaQueryWrapper<SysLoginLog> getWrapper(SysLoginLogQuery query);

    /**
     * 查询操作日志记录列表
     *
     * @param query 操作日志记录
     * @return 操作日志记录集合
     */
    List<SysLoginLog> queryList(SysLoginLogQuery query);

    /**
     * 清空系统登录日志
     */
    void clean();
}
